<template>
    <div :style="{width: width,height:height}">
    <el-scrollbar wrap-class="scrollbar-wrapper" class="scrollbar-i">
        <div style="margin-right: 15px">
        <slot></slot>
        </div>
    </el-scrollbar>
    </div>
</template>
<script>
    export default {
        name:"ScrollPanel",
        props:{
            width:{
                type:String,
                default:"100%"
            },
            height:{
                type:String,
                default:"100%"
            }
        }
    }
</script>
<style scoped>
    .scrollbar-i {
        height: 100%;
    }
</style>
